package cn.tedu.common.pojo;

import java.util.Date;

public class Problem {
	
	private String id;
	private String title;
	private String content;
	private Date createtime;
	private Date updatetime;
	private String userid;
	private String nickname;
	private Long visits;
	private Long thumbup;
	private Long reply;
	private String solve;
	private String replyname;
	private Date replytime;
	public Problem() {
		super();
	}
	public Problem(String id, String title, String content, Date createtime, Date updatetime, String userid,
			String nickname, Long visits, Long thumbup, Long reply, String solve, String replyname, Date replytime) {
		super();
		this.id = id;
		this.title = title;
		this.content = content;
		this.createtime = createtime;
		this.updatetime = updatetime;
		this.userid = userid;
		this.nickname = nickname;
		this.visits = visits;
		this.thumbup = thumbup;
		this.reply = reply;
		this.solve = solve;
		this.replyname = replyname;
		this.replytime = replytime;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getCreatetime() {
		return createtime;
	}
	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}
	public Date getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(Date updatetime) {
		this.updatetime = updatetime;
	}
	public String getUserid() {
		return userid;
	}
	public void setUserid(String userid) {
		this.userid = userid;
	}
	public String getNickname() {
		return nickname;
	}
	public void setNickname(String nickname) {
		this.nickname = nickname;
	}
	public Long getVisits() {
		return visits;
	}
	public void setVisits(Long visits) {
		this.visits = visits;
	}
	public Long getThumbup() {
		return thumbup;
	}
	public void setThumbup(Long thumbup) {
		this.thumbup = thumbup;
	}
	public Long getReply() {
		return reply;
	}
	public void setReply(Long reply) {
		this.reply = reply;
	}
	public String getSolve() {
		return solve;
	}
	public void setSolve(String solve) {
		this.solve = solve;
	}
	public String getReplyname() {
		return replyname;
	}
	public void setReplyname(String replyname) {
		this.replyname = replyname;
	}
	public Date getReplytime() {
		return replytime;
	}
	public void setReplytime(Date replytime) {
		this.replytime = replytime;
	}
	@Override
	public String toString() {
		return "Problem [id=" + id + ", title=" + title + ", content=" + content + ", createtime=" + createtime
				+ ", updatetime=" + updatetime + ", userid=" + userid + ", nickname=" + nickname + ", visits=" + visits
				+ ", thumbup=" + thumbup + ", reply=" + reply + ", solve=" + solve + ", replyname=" + replyname
				+ ", replytime=" + replytime + "]";
	}
	
	

}
